import sys
def main():
    d={}
    for ch in range(ord('a'),ord('z')+1):
        d[chr(ch)]=0
    for line in sys.stdin.readlines():
        for ch in line.strip():
            if ch.isalpha():
                d[ch.lower()]+=1
    print(d)
main()